new NearFarScalar(near, nearValue, far, farValue)
        Represents a scalar value's lower and upper bound at a near distance and far distance in eye space.
    
    
    
    
    
    
        
| Name | Type | Default | Description | 
|---|---|---|---|
| near | Number | 0.0 | optional The lower bound of the camera range. | 
| nearValue | Number | 0.0 | optional The value at the lower bound of the camera range. | 
| far | Number | 1.0 | optional The upper bound of the camera range. | 
| farValue | Number | 0.0 | optional The value at the upper bound of the camera range. | 
See:
        Source: 
        Core/NearFarScalar.js, line 24
    
    
Members
- 
    staticNearFarScalar.packedLength :Number
- 
    
    The number of elements used to pack the object into an array.Source: Core/NearFarScalar.js, line 79
- 
    far :Number
- 
    
    The upper bound of the camera range.- 
    
    
    
    
    
    
    
    
    
    Default Value:
    
 1.0Source: Core/NearFarScalar.js, line 42
- 
    farValue :Number
- 
    
    The value at the upper bound of the camera range.- 
    
    
    
    
    
    
    
    
    
    Default Value:
    
 0.0Source: Core/NearFarScalar.js, line 48
- 
    near :Number
- 
    
    The lower bound of the camera range.- 
    
    
    
    
    
    
    
    
    
    Default Value:
    
 0.0Source: Core/NearFarScalar.js, line 30
- 
    nearValue :Number
- 
    
    The value at the lower bound of the camera range.- 
    
    
    
    
    
    
    
    
    
    Default Value:
    
 0.0Source: Core/NearFarScalar.js, line 36
Methods
- 
    staticNearFarScalar.clone(nearFarScalar, result) → NearFarScalar
- 
    
    Duplicates a NearFarScalar instance.Name Type Description nearFarScalarNearFarScalar The NearFarScalar to duplicate. resultNearFarScalar optional The object onto which to store the result. Returns:The modified result parameter or a new NearFarScalar instance if one was not provided. (Returns undefined if nearFarScalar is undefined)Source: Core/NearFarScalar.js, line 58
- 
    staticNearFarScalar.equals(left, right) → Boolean
- 
    
    Compares the provided NearFarScalar and returnstrueif they are equal,falseotherwise.Name Type Description leftNearFarScalar optional The first NearFarScalar. rightNearFarScalar optional The second NearFarScalar. Returns:trueif left and right are equal; otherwisefalse.Source: Core/NearFarScalar.js, line 140
- 
    staticNearFarScalar.pack(value, array, startingIndex)
- 
    
    Stores the provided instance into the provided array.Name Type Default Description valueNearFarScalar The value to pack. arrayArray.<Number> The array to pack into. startingIndexNumber 0optional The index into the array at which to start packing the elements. Source: Core/NearFarScalar.js, line 88
- 
    staticNearFarScalar.unpack(array, startingIndex, result)
- 
    
    Retrieves an instance from a packed array.Name Type Default Description arrayArray.<Number> The packed array. startingIndexNumber 0optional The starting index of the element to be unpacked. resultNearFarScalar optional The object into which to store the result. Source: Core/NearFarScalar.js, line 113
- 
    clone(result) → NearFarScalar
- 
    
    Duplicates this instance.Name Type Description resultNearFarScalar optional The object onto which to store the result. Returns:The modified result parameter or a new NearFarScalar instance if one was not provided.Source: Core/NearFarScalar.js, line 156
- 
    equals(right) → Boolean
- 
    
    Compares this instance to the provided NearFarScalar and returnstrueif they are equal,falseotherwise.Name Type Description rightNearFarScalar optional The right hand side NearFarScalar. Returns:trueif left and right are equal; otherwisefalse.Source: Core/NearFarScalar.js, line 167
