public final class MPSRayOriginMaskDirectionMaxDistance
extends org.moe.natj.c.StructObject
| Modifier | Constructor and Description |
|---|---|
|
MPSRayOriginMaskDirectionMaxDistance() |
|
MPSRayOriginMaskDirectionMaxDistance(MPSPackedFloat3 origin,
int mask,
MPSPackedFloat3 direction,
float maxDistance) |
protected |
MPSRayOriginMaskDirectionMaxDistance(org.moe.natj.general.Pointer peer) |
| Modifier and Type | Method and Description |
|---|---|
MPSPackedFloat3 |
direction()
Ray direction.
|
int |
mask()
Ray mask which is bitwise AND-ed with instance and primitive masks to filter out
intersections.
|
float |
maxDistance()
Maximum intersection distance from the origin along the ray direction.
|
MPSPackedFloat3 |
origin()
Ray origin.
|
void |
setDirection(MPSPackedFloat3 value)
Ray direction.
|
void |
setMask(int value)
Ray mask which is bitwise AND-ed with instance and primitive masks to filter out
intersections.
|
void |
setMaxDistance(float value)
Maximum intersection distance from the origin along the ray direction.
|
void |
setOrigin(MPSPackedFloat3 value)
Ray origin.
|
public MPSRayOriginMaskDirectionMaxDistance()
protected MPSRayOriginMaskDirectionMaxDistance(org.moe.natj.general.Pointer peer)
public MPSRayOriginMaskDirectionMaxDistance(MPSPackedFloat3 origin, int mask, MPSPackedFloat3 direction, float maxDistance)
public MPSPackedFloat3 origin()
public void setOrigin(MPSPackedFloat3 value)
public int mask()
public void setMask(int value)
public MPSPackedFloat3 direction()
public void setDirection(MPSPackedFloat3 value)
public float maxDistance()
public void setMaxDistance(float value)